<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>动态伪类</title>
    <style>
<!-- 顺序最好不要改变 -->
        a:link{/*未访问的链接*/
            color: #0d95e8;
        }
        a:visited{/*已经访问的链接*/
            color: orange;
        }
        a:hover{
            color: red;
        }
        a:active{
            color: orangered;
        }
        input:focus{
            background-color: blue;
        }
        /*ul>li:not(:first-child){*/
        /*    background-color: #0A0615;*/
        /*}*/
        ul>li:not(:nth-of-type(3)){
            background-color: orange;
        }
        :empty{
            display: block;
            width: 100px;
            height: 100px;
            background-color: yellow;
        }
    /*    :target在锚点中展示了*/
    </style>
</head>
<body>
    <a href="https://www.baidu.com/">百度</a>
    <ul>
        <ol>
            <li>index1</li>
            <li>index2</li>
            <li>index3</li>
        </ol>
        <li>index4</li>
        <li>index5</li>
        <li>index6</li>
        <li>index7</li>
        <li>index8</li>
    </ul>
    <input type="text">
    <input type="radio">
</body>
</html>